﻿namespace Mathmall.Administration.Models
{
    public class Menu
    {
        /// <summary>
        /// 菜单id
        /// </summary>
        public int MenuID { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string? MenuName { get; set; }

        /// <summary>
        /// 菜单编码
        /// </summary>
        public int MenuCode { get; set; }

        /// <summary>
        /// 父节点id
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 节点类型
        /// </summary>
        public string? NodeType { get; set; }

        /// <summary>
        /// url
        /// </summary>
        public string? LinkUrl { get; set; }

        /// <summary>
        /// 菜单层级
        /// </summary>
        public int Level { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? Path { get; set; }

        /// <summary>
        /// 操作
        /// </summary>
        public string? Operation { get; set; }

        /// <summary>
        /// 权限值
        /// </summary>
        public string? AuthorityValue { get; set; }

        /// <summary>
        /// 按钮
        /// </summary>
        public string? Button { get; set; }
    }
}